package com.example.demo.event;

import org.springframework.context.ApplicationEvent;
import lombok.Data;

@Data
public class DemoTestEvent extends ApplicationEvent {

  /**
   *
   */
  private static final long serialVersionUID = 1L;

  private String name;

  public DemoTestEvent(Object source, String name) {
    super(source);
    this.name =name;
  }
    
}